Page({
  data: {
    tabList: [{
      name: '有趣好玩',
      badge: 20
    }, {
      name: '有趣好玩',
      badge: 30
    }, {
      name: '有趣好玩',
      badge: 5
    }, {
      name: '有趣好玩'
    }, {
      name: '有趣好玩'
    }, {
      name: '有趣好玩'
    }, {
      name: '有趣好玩'
    }, {
      name: '有趣好玩'
    }]
  },
  onLoad() {
    my.setNavigationBar({
      backgroundColor:"#F0F8FF",
      frontColor:"#000000",
      success(res){
        console.log(res)
      },
      fail(res) {
        console.log(res)
      }
    })
  }
});